<?php

namespace SMSBundle\Controller;
use sms\aliyun\AliyunSMS;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;

class DefaultController extends Controller
{
    public function indexAction()
    {
//        $AliyunSMS = new AliyunSMS($this->container);
////        $res = $AliyunSMS->sendPhoneCode('13339036821',1);
//        $res = $AliyunSMS->sendSms(
//            '13339036821',
//            [
//                'adress'=>"heheheh",
//                'time'=>"2018-05-6"
//            ],
//            'SMS_133150694'
//        );
//        dump($res);exit();
    }
}
